projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466e8a7
)
tests: Fix testfilechooser test
author
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:47:26 +0000
(
04:47
+0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:47:26 +0000
(
04:47
+0500)
Don't use GtkContainer API on GtkWindow.
tests/testfilechooser.c
patch
|
blob
|
history
diff --git
a/tests/testfilechooser.c
b/tests/testfilechooser.c
index 0a9e19e2bfa1e8912912f52e80be0444c8776185..0558dab5b049b0fb7b7cd3266758ed607df711b3 100644
(file)
--- a/
tests/testfilechooser.c
+++ b/
tests/testfilechooser.c
@@
-452,7
+452,7
@@
main (int argc, char **argv)
control_window = gtk_window_new ();
vbbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- gtk_
container_add (GTK_CONTAINER
(control_window), vbbox);
+ gtk_
window_set_child (GTK_WINDOW
(control_window), vbbox);
button = gtk_button_new_with_mnemonic ("_Select all");
gtk_widget_set_sensitive (button, multiple);